package com.dhsc.controller.ywjk.jzcl;

import com.dhsc.domain.jkzx.ywjk.jzcl.YcmxlsVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywjk.jzcl.IYclxwhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: YclxwhController
 * @Description: 异常类型维护
 * @date: 2023/9/1 14:11
 * @author: gx
 */
@Controller
@RequestMapping("/ywjk/jzcl")
public class YclxwhController {

    @Autowired
    private IYclxwhService yclxwhService;

    /**
     * @Title: queryYclxwh
     * @Description: 查询异常类型维护信息
     * @param ycmxlsVo
     * @return LayuiTableVo
     * @date: 2023/8/29 14:07
     * @author: gx
     */
    @ResponseBody
    @RequestMapping(value="/queryYclxwh")
    public LayuiTableVo queryYclxwh(YcmxlsVo ycmxlsVo){
        return yclxwhService.queryYclxwh(ycmxlsVo);
    }

    /**
     * @Title: queryQsTxtdm
     * @Description: 查询qs字典
     * @return LayuiTableVo
     * @date: 2023/8/29 14:07
     * @author: gx
     */
    @ResponseBody
    @RequestMapping(value="/queryQsTxtdm")
    public ResponseObject queryQsTxtdm(YcmxlsVo ycmxlsVo){
        return yclxwhService.queryQsTxtdm(ycmxlsVo);
    }


    /**
     * @Title: saveYclxwh
     * @Description: 保存异常类型维护
     * @return ResponseObject
     * @date: 2023/8/29 14:07
     * @author: gx
     */
    @ResponseBody
    @RequestMapping(value="/saveYclxwh")
    public ResponseObject saveYclxwh(YcmxlsVo ycmxlsVo){
        return yclxwhService.saveYclxwh(ycmxlsVo);
    }
}
